package org.tuo.service;

import org.tuo.bean.Student;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * Created by tuo on 10/9/16.
 */
public interface StudentService {
    void update(Student student) throws SQLException;

    Student get(int id) throws SQLException;

    List<Student> findAll() throws SQLException;

    List<Map<String, Object>> findList(String name);
}
